<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>无标题文档</title>
	<link rel="stylesheet" type="text/css" th:href="@{css/html5uploader.css}"/>
	<script type="text/javascript" th:src="@{js/jQuery.1.7.1.min.js}"></script>
	<script type="text/javascript" th:src="@{js/jquery.html5uploader.js}"></script>
	<style type="text/css">
	</style>
	<script type="text/javascript">
	$(function(){
		$('#upload').html5uploader({
			auto:false,
			multi:true,
			removeTimeout:9999999,
			url:'upload2',
			onUploadStart:function(){
				alert('开始上传');
				},
			onInit:function(){
				alert('初始化');
				},
			onUploadComplete:function(){
				alert('上传完成');
				}
			});
		});
	</script>
</head>

<body>
<div id="upload"></div>
</body>
</html>
